<? 
if( !$PARAPARA )
    die("Do not call me");

$dbl    = $PARAPARA->dblayer;
$chat   = $PARAPARA->get_chat();

?>
<div id="para_chat_container">
    <div id="para_chat_caption">Chat Terminal</div>
    <div id="para_chat_console">
    <? $chat->htmlize( null ) ?>
    </div>

  <div id="para_chat_inputs">
    <form id="para_chatform" action="?do=chatmsg" method="post" onKeyPress="return Para_Chat_UEV_KeyUp(event)">
    <div id="para_chat_inputline">
    Beskedtext:
    <textarea id="para_chatform_text" type="text" class="para_text_input" rows="3" style="width: 100%"></textarea>
    </div>
    <div id="para_chat_buttonline">
     <button id="para_chatform_submit" class="para_small_button" type="submit"/>Send</button>
    </div>
   </form>

  </div>
</div>
